package com.health.db.mapper;

import com.health.db.model.RegisterOrderZSchedule;
import com.health.db.model.RegisterOrderZScheduleExample;
import com.health.db.model.RegisterOrderZScheduleTemp;

import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface RegisterOrderZScheduleMapper {
    int countByExample(RegisterOrderZScheduleExample example);

    int deleteByExample(RegisterOrderZScheduleExample example);

    int deleteByPrimaryKey(Long recid);

    int insert(RegisterOrderZSchedule record);

    int insertSelective(RegisterOrderZSchedule record);

    List<RegisterOrderZSchedule> selectByExample(RegisterOrderZScheduleExample example);

    RegisterOrderZSchedule selectByPrimaryKey(Long recid);

    int updateByPrimaryKeySelective(RegisterOrderZSchedule record);


    int updateByPrimaryKey(RegisterOrderZSchedule record);

    int  countScheduleSize (RegisterOrderZSchedule record);
    
    
    List<RegisterOrderZScheduleTemp> selectByStuffId( Long stuffId);
    
    List<RegisterOrderZScheduleTemp> selectByAllStuffId(Integer orderTimeSolt);
    
}